import requests

session = None


# post请求
def post(url, data=None, files=None, **kwargs):
    return requests.post(url, data, files, **kwargs)


# get请求
def get(url, data=None, **kwargs):
    return requests.get(url, data, **kwargs)


# 文件上传
def upload(url, data=None, files=None, **kwargs):
    return requests.post(url, data, files, **kwargs)

